using System.Collections.Generic;
using WorldMapBase.Display;
using Yoozoo.Libs;

namespace WorldMapBase.Tile
{
    public class DisplayCmdHashContainer : IClass
    {
        public HashSet<LinkedListNode<DisplayCommand>> set = new HashSet<LinkedListNode<DisplayCommand>>();
        
        public DisplayCmdHashContainer()
        {
            for (int i = 0; i < 500; i++)
            {
                set.Add(new LinkedListNode<DisplayCommand>(null));
            }
            set.Clear();
        }
        
        public void OnReset()
        {
            set.Clear();
        }
    }
}